package cn.stylefeng.guns.modular.business.controller;

import cn.stylefeng.roses.kernel.resource.api.annotation.ApiResource;
import cn.stylefeng.roses.kernel.resource.api.annotation.GetResource;
import org.springframework.stereotype.Controller;

/**
 * 培训记录管理控制器控制器界面
 */
@Controller
@ApiResource(name = "培训记录控制器控制器界面")
public class TrainingViewController {

    /**
     * 培训记录-首页-视图
     */
    @GetResource(name = "培训记录-首页-视图", path = "/view/training")
    public String indexView() {
        return "/modular/business/training/training.html";
    }

    /**
     * 培训记录—新增-视图
     */
    @GetResource(name = "培训记录—新增-视图", path = "/view/training/addView")
    public String addView() {
        return "/modular/business/training/training_add.html";
    }

    /**
     * 培训记录_修改_视图
     */
    @GetResource(name = "培训记录-修改-视图", path = "/view/training/editView")
    public String editView() {
        return "/modular/business/training/training_edit.html";
    }

    /**
     * 培训记录_查看_视图
     */
    @GetResource(name = "培训记录-查看-视图", path = "/view/training/detailView")
    public String detailView() {
        return "/modular/business/training/training_view.html";
    }

    /**
     * 培训记录_审核_视图
     */
    @GetResource(name = "培训记录-审核-视图", path = "/view/training/auditView")
    public String auditView() {
        return "/modular/business/training/training_audit.html";
    }
}
